/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package javaapplication1;

import java.util.Collection;
import java.util.HashMap;

/**
 *
 * @author Oren
 */
 public class Boxes {
    private HashMap<String,Box> BoxHash = new HashMap<String,Box>() ;

    public Boxes()
    {

    }

    public Collection getHashmap()
    {
        return BoxHash.values();
    }


    public void setBox(Box b)
    {

    }
    public Box getBox(String name)
    {
        return BoxHash.get(name);
    }


    public void setBox (Box temp_Box,String name)
    {
        BoxHash.put(name, temp_Box);
    }

}
